package top.someapp.applib;

/**
 * @author zwz
 * Created on 2020-03-30
 */
public class AppException extends RuntimeException {

    private int code = -1;

    public AppException() {
        super("未知错误！");
    }

    public AppException(String message) {
        super(message);
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}